package com.aikon.wht.listener;

import org.springframework.context.ApplicationEvent;
import org.springframework.context.ApplicationListener;

/**
 * Created by haitao.wang on 2016/12/14.
 */
public class BaseListener implements ApplicationListener {
    @Override
    public void onApplicationEvent(ApplicationEvent applicationEvent) {
        System.out.println(applicationEvent.getSource().getClass().getName());
        System.out.println(applicationEvent.getTimestamp());
    }
}
